.class public Lcom/example/m6shop/OrderDetailActivity;
.super Landroid/app/Activity;
.source "OrderDetailActivity.java"


# instance fields
.field ORA:I

.field private body:Ljava/lang/String;

.field public bt:Ljava/lang/String;

.field btn1:Landroid/widget/Button;

.field btn2:Landroid/widget/Button;

.field btn3:Landroid/widget/Button;

.field btn4:Landroid/widget/Button;

.field public content:Ljava/lang/String;

.field dataarray:Lorg/json/JSONObject;

.field dno:Ljava/lang/String;

.field flag:I

.field public h:Landroid/os/Handler;

.field private ls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/BilldetBean;",
            ">;"
        }
    .end annotation
.end field

.field m:Lmyapp/MyApp;

.field private mcontext:Landroid/content/Context;

.field orderCc:Ljava/lang/String;

.field orderid:Ljava/lang/String;

.field private popView:Landroid/view/View;

.field private popWin:Landroid/widget/PopupWindow;

.field print:Landroid/widget/Button;

.field telphontto:Landroid/widget/ImageView;

.field public title:Ljava/lang/String;

.field private top:Ljava/lang/String;

.field private webview:Landroid/webkit/WebView;

.field width:I


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    const/4 v0, 0x0

    .line 53
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 55
    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->m:Lmyapp/MyApp;

    .line 56
    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->orderid:Ljava/lang/String;

    .line 57
    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->dno:Ljava/lang/String;

    .line 58
    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->h:Landroid/os/Handler;

    .line 60
    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->dataarray:Lorg/json/JSONObject;

    .line 61
    iput v1, p0, Lcom/example/m6shop/OrderDetailActivity;->width:I

    .line 62
    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->btn1:Landroid/widget/Button;

    .line 63
    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->btn2:Landroid/widget/Button;

    .line 64
    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->btn3:Landroid/widget/Button;

    .line 65
    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->btn4:Landroid/widget/Button;

    .line 66
    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->print:Landroid/widget/Button;

    .line 67
    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->telphontto:Landroid/widget/ImageView;

    .line 69
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->orderCc:Ljava/lang/String;

    .line 75
    const/16 v0, -0x6b00

    iput v0, p0, Lcom/example/m6shop/OrderDetailActivity;->ORA:I

    .line 76
    iput v1, p0, Lcom/example/m6shop/OrderDetailActivity;->flag:I

    .line 53
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6shop/OrderDetailActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 78
    iget-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->top:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6shop/OrderDetailActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 78
    iget-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->body:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6shop/OrderDetailActivity;)V
    .locals 0

    .prologue
    .line 402
    invoke-direct {p0}, Lcom/example/m6shop/OrderDetailActivity;->getPopwindow()V

    return-void
.end method

.method static synthetic access$3(Lcom/example/m6shop/OrderDetailActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/m6shop/OrderDetailActivity;)Landroid/widget/PopupWindow;
    .locals 1

    .prologue
    .line 73
    iget-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->popWin:Landroid/widget/PopupWindow;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6shop/OrderDetailActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 78
    iput-object p1, p0, Lcom/example/m6shop/OrderDetailActivity;->top:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$6(Lcom/example/m6shop/OrderDetailActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 78
    iput-object p1, p0, Lcom/example/m6shop/OrderDetailActivity;->body:Ljava/lang/String;

    return-void
.end method

.method private getPopwindow()V
    .locals 11

    .prologue
    const/4 v10, 0x0

    const/4 v8, -0x2

    const/4 v9, 0x1

    .line 403
    invoke-virtual {p0}, Lcom/example/m6shop/OrderDetailActivity;->getWindow()Landroid/view/Window;

    move-result-object v6

    invoke-virtual {v6}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v2

    .line 404
    .local v2, "lp":Landroid/view/WindowManager$LayoutParams;
    const v6, 0x3f333333    # 0.7f

    iput v6, v2, Landroid/view/WindowManager$LayoutParams;->alpha:F

    .line 405
    invoke-virtual {p0}, Lcom/example/m6shop/OrderDetailActivity;->getWindow()Landroid/view/Window;

    move-result-object v6

    invoke-virtual {v6, v2}, Landroid/view/Window;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V

    .line 407
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    .line 408
    .local v1, "factory":Landroid/view/LayoutInflater;
    const v6, 0x7f030018

    const/4 v7, 0x0

    invoke-virtual {v1, v6, v7}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v6

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->popView:Landroid/view/View;

    .line 409
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->popView:Landroid/view/View;

    const/4 v7, -0x1

    invoke-virtual {v6, v7}, Landroid/view/View;->setBackgroundColor(I)V

    .line 410
    new-instance v6, Landroid/widget/PopupWindow;

    iget-object v7, p0, Lcom/example/m6shop/OrderDetailActivity;->popView:Landroid/view/View;

    invoke-direct {v6, v7, v8, v8, v9}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;IIZ)V

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->popWin:Landroid/widget/PopupWindow;

    .line 411
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->popWin:Landroid/widget/PopupWindow;

    invoke-virtual {v6, v9}, Landroid/widget/PopupWindow;->setFocusable(Z)V

    .line 413
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->popView:Landroid/view/View;

    const v7, 0x7f0700c9

    invoke-virtual {v6, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    .line 414
    .local v5, "title1":Landroid/widget/TextView;
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->popView:Landroid/view/View;

    const v7, 0x7f0700ca

    invoke-virtual {v6, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 415
    .local v0, "content1":Landroid/widget/TextView;
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->title:Ljava/lang/String;

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 416
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->content:Ljava/lang/String;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 418
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->popWin:Landroid/widget/PopupWindow;

    iget-object v7, p0, Lcom/example/m6shop/OrderDetailActivity;->btn1:Landroid/widget/Button;

    const/16 v8, 0x11

    invoke-virtual {v6, v7, v8, v10, v10}, Landroid/widget/PopupWindow;->showAtLocation(Landroid/view/View;III)V

    .line 420
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->popView:Landroid/view/View;

    const v7, 0x7f0700bd

    invoke-virtual {v6, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    .line 421
    .local v4, "sure":Landroid/widget/TextView;
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->bt:Ljava/lang/String;

    invoke-virtual {v4, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 422
    iget v6, p0, Lcom/example/m6shop/OrderDetailActivity;->flag:I

    if-ne v6, v9, :cond_0

    .line 423
    const v6, 0x7f040006

    invoke-virtual {v4, v6}, Landroid/widget/TextView;->setBackgroundResource(I)V

    .line 427
    :goto_0
    new-instance v6, Lcom/example/m6shop/OrderDetailActivity$9;

    invoke-direct {v6, p0}, Lcom/example/m6shop/OrderDetailActivity$9;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    invoke-virtual {v4, v6}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 442
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->popView:Landroid/view/View;

    const v7, 0x7f0700be

    invoke-virtual {v6, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 443
    .local v3, "no":Landroid/widget/TextView;
    new-instance v6, Lcom/example/m6shop/OrderDetailActivity$10;

    invoke-direct {v6, p0}, Lcom/example/m6shop/OrderDetailActivity$10;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    invoke-virtual {v3, v6}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 454
    return-void

    .line 425
    .end local v3    # "no":Landroid/widget/TextView;
    :cond_0
    const v6, 0x7f040009

    invoke-virtual {v4, v6}, Landroid/widget/TextView;->setBackgroundResource(I)V

    goto :goto_0
.end method


# virtual methods
.method public getSource()Z
    .locals 1

    .prologue
    .line 487
    new-instance v0, Lcom/example/m6shop/OrderDetailActivity$11;

    invoke-direct {v0, p0}, Lcom/example/m6shop/OrderDetailActivity$11;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    .line 535
    invoke-virtual {v0}, Lcom/example/m6shop/OrderDetailActivity$11;->start()V

    .line 536
    const/4 v0, 0x0

    return v0
.end method

.method public getprint()Z
    .locals 1

    .prologue
    .line 585
    new-instance v0, Lcom/example/m6shop/OrderDetailActivity$13;

    invoke-direct {v0, p0}, Lcom/example/m6shop/OrderDetailActivity$13;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    .line 622
    invoke-virtual {v0}, Lcom/example/m6shop/OrderDetailActivity$13;->start()V

    .line 623
    const/4 v0, 0x0

    return v0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 9
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    const/4 v8, 0x0

    .line 82
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 83
    const v6, 0x7f030011

    invoke-virtual {p0, v6}, Lcom/example/m6shop/OrderDetailActivity;->setContentView(I)V

    .line 84
    invoke-virtual {p0}, Lcom/example/m6shop/OrderDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    .line 85
    .local v1, "intent":Landroid/content/Intent;
    const-string v6, "id"

    invoke-virtual {v1, v6}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->orderid:Ljava/lang/String;

    .line 86
    const-string v6, "name"

    invoke-virtual {v1, v6}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->dno:Ljava/lang/String;

    .line 87
    new-instance v6, Lmyapp/MyApp;

    invoke-direct {v6}, Lmyapp/MyApp;-><init>()V

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->m:Lmyapp/MyApp;

    .line 90
    const-string v6, "userInfo"

    invoke-virtual {p0, v6, v8}, Lcom/example/m6shop/OrderDetailActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v3

    .line 92
    .local v3, "preferences":Landroid/content/SharedPreferences;
    const-string v6, "uid"

    const-string v7, ""

    invoke-interface {v3, v6, v7}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 93
    .local v0, "account":Ljava/lang/String;
    if-eqz v0, :cond_0

    const-string v6, ""

    invoke-virtual {v0, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_1

    .line 94
    :cond_0
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 95
    .local v2, "intents":Landroid/content/Intent;
    const-class v6, Lcom/example/m6shop/LoginActivity;

    invoke-virtual {v2, p0, v6}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 96
    invoke-virtual {p0, v2}, Lcom/example/m6shop/OrderDetailActivity;->startActivity(Landroid/content/Intent;)V

    .line 97
    invoke-virtual {p0}, Lcom/example/m6shop/OrderDetailActivity;->finish()V

    .line 401
    .end local v2    # "intents":Landroid/content/Intent;
    :goto_0
    return-void

    .line 101
    :cond_1
    const v6, 0x7f070070

    invoke-virtual {p0, v6}, Lcom/example/m6shop/OrderDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    .line 102
    .local v5, "title_bar_name":Landroid/widget/TextView;
    const-string v6, "\u8ba2\u5355\u8be6\u60c5"

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 103
    iput-object p0, p0, Lcom/example/m6shop/OrderDetailActivity;->mcontext:Landroid/content/Context;

    .line 104
    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->ls:Ljava/util/List;

    .line 105
    const v6, 0x7f07000a

    invoke-virtual {p0, v6}, Lcom/example/m6shop/OrderDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/Button;

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->btn1:Landroid/widget/Button;

    .line 106
    const v6, 0x7f0700a4

    invoke-virtual {p0, v6}, Lcom/example/m6shop/OrderDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/Button;

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->btn2:Landroid/widget/Button;

    .line 107
    const v6, 0x7f0700a5

    invoke-virtual {p0, v6}, Lcom/example/m6shop/OrderDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/Button;

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->btn3:Landroid/widget/Button;

    .line 108
    const v6, 0x7f0700a6

    invoke-virtual {p0, v6}, Lcom/example/m6shop/OrderDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/Button;

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->btn4:Landroid/widget/Button;

    .line 109
    const v6, 0x7f0700a3

    invoke-virtual {p0, v6}, Lcom/example/m6shop/OrderDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/Button;

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->print:Landroid/widget/Button;

    .line 110
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->print:Landroid/widget/Button;

    invoke-virtual {v6, v8}, Landroid/widget/Button;->setClickable(Z)V

    .line 111
    const v6, 0x7f070095

    invoke-virtual {p0, v6}, Lcom/example/m6shop/OrderDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/ImageView;

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->telphontto:Landroid/widget/ImageView;

    .line 112
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->telphontto:Landroid/widget/ImageView;

    new-instance v7, Lcom/example/m6shop/OrderDetailActivity$1;

    invoke-direct {v7, p0}, Lcom/example/m6shop/OrderDetailActivity$1;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    invoke-virtual {v6, v7}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 135
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->print:Landroid/widget/Button;

    new-instance v7, Lcom/example/m6shop/OrderDetailActivity$2;

    invoke-direct {v7, p0}, Lcom/example/m6shop/OrderDetailActivity$2;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    invoke-virtual {v6, v7}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 145
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->btn1:Landroid/widget/Button;

    new-instance v7, Lcom/example/m6shop/OrderDetailActivity$3;

    invoke-direct {v7, p0}, Lcom/example/m6shop/OrderDetailActivity$3;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    invoke-virtual {v6, v7}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 161
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->btn2:Landroid/widget/Button;

    new-instance v7, Lcom/example/m6shop/OrderDetailActivity$4;

    invoke-direct {v7, p0}, Lcom/example/m6shop/OrderDetailActivity$4;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    invoke-virtual {v6, v7}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 176
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->btn3:Landroid/widget/Button;

    new-instance v7, Lcom/example/m6shop/OrderDetailActivity$5;

    invoke-direct {v7, p0}, Lcom/example/m6shop/OrderDetailActivity$5;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    invoke-virtual {v6, v7}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 190
    iget-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->btn4:Landroid/widget/Button;

    new-instance v7, Lcom/example/m6shop/OrderDetailActivity$6;

    invoke-direct {v7, p0}, Lcom/example/m6shop/OrderDetailActivity$6;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    invoke-virtual {v6, v7}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 223
    const v6, 0x7f0701dd

    invoke-virtual {p0, v6}, Lcom/example/m6shop/OrderDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageView;

    .line 224
    .local v4, "title_bar_menu_btn":Landroid/widget/ImageView;
    new-instance v6, Lcom/example/m6shop/OrderDetailActivity$7;

    invoke-direct {v6, p0}, Lcom/example/m6shop/OrderDetailActivity$7;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    invoke-virtual {v4, v6}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 233
    invoke-virtual {p0}, Lcom/example/m6shop/OrderDetailActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v6

    check-cast v6, Lmyapp/MyApp;

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->m:Lmyapp/MyApp;

    .line 234
    new-instance v6, Lcom/example/m6shop/OrderDetailActivity$8;

    invoke-direct {v6, p0}, Lcom/example/m6shop/OrderDetailActivity$8;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    iput-object v6, p0, Lcom/example/m6shop/OrderDetailActivity;->h:Landroid/os/Handler;

    .line 399
    invoke-virtual {p0}, Lcom/example/m6shop/OrderDetailActivity;->getSource()Z

    .line 400
    invoke-virtual {p0}, Lcom/example/m6shop/OrderDetailActivity;->getprint()Z

    goto/16 :goto_0
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2
    .param p1, "keyCode"    # I
    .param p2, "event"    # Landroid/view/KeyEvent;

    .prologue
    const/4 v1, 0x0

    .line 627
    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v0

    if-nez v0, :cond_0

    .line 629
    invoke-virtual {p0}, Lcom/example/m6shop/OrderDetailActivity;->finish()V

    .line 632
    :cond_0
    return v1
.end method

.method public ordercontrol()Z
    .locals 3

    .prologue
    .line 540
    iget-object v0, p0, Lcom/example/m6shop/OrderDetailActivity;->mcontext:Landroid/content/Context;

    const-string v1, "\u8bf7\u7a0d\u540e"

    const-string v2, "\u6570\u636e\u5904\u7406\u4e2d\u8bf7\u7a0d\u540e..."

    invoke-static {v0, v1, v2}, Lmyclass/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 541
    new-instance v0, Lcom/example/m6shop/OrderDetailActivity$12;

    invoke-direct {v0, p0}, Lcom/example/m6shop/OrderDetailActivity$12;-><init>(Lcom/example/m6shop/OrderDetailActivity;)V

    .line 578
    invoke-virtual {v0}, Lcom/example/m6shop/OrderDetailActivity$12;->start()V

    .line 579
    const/4 v0, 0x0

    return v0
.end method

.method public setdo(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 10
    .param p1, "showname"    # Ljava/lang/String;
    .param p2, "textname"    # Ljava/lang/String;
    .param p3, "danjian"    # Ljava/lang/String;

    .prologue
    const/4 v9, -0x2

    .line 458
    const v7, 0x7f070091

    invoke-virtual {p0, v7}, Lcom/example/m6shop/OrderDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TableLayout;

    .line 460
    .local v6, "table":Landroid/widget/TableLayout;
    new-instance v4, Landroid/widget/TableRow;

    iget-object v7, p0, Lcom/example/m6shop/OrderDetailActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v4, v7}, Landroid/widget/TableRow;-><init>(Landroid/content/Context;)V

    .line 461
    .local v4, "row":Landroid/widget/TableRow;
    new-instance v5, Landroid/widget/TextView;

    iget-object v7, p0, Lcom/example/m6shop/OrderDetailActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v5, v7}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 463
    .local v5, "t":Landroid/widget/TextView;
    invoke-virtual {v5, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 464
    const/16 v7, 0x1e

    invoke-virtual {v5, v7}, Landroid/widget/TextView;->setHeight(I)V

    .line 465
    iget v7, p0, Lcom/example/m6shop/OrderDetailActivity;->width:I

    div-int/lit8 v7, v7, 0x2

    int-to-double v7, v7

    invoke-static {v7, v8}, Ljava/lang/Math;->rint(D)D

    move-result-wide v7

    double-to-int v0, v7

    .line 466
    .local v0, "b":I
    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setWidth(I)V

    .line 469
    iget v7, p0, Lcom/example/m6shop/OrderDetailActivity;->width:I

    div-int/lit8 v7, v7, 0x4

    int-to-double v7, v7

    invoke-static {v7, v8}, Ljava/lang/Math;->rint(D)D

    move-result-wide v7

    double-to-int v1, v7

    .line 470
    .local v1, "bw":I
    new-instance v2, Landroid/widget/TextView;

    iget-object v7, p0, Lcom/example/m6shop/OrderDetailActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v2, v7}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 471
    .local v2, "c":Landroid/widget/TextView;
    invoke-virtual {v2, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 472
    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setWidth(I)V

    .line 473
    new-instance v3, Landroid/widget/TextView;

    iget-object v7, p0, Lcom/example/m6shop/OrderDetailActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v3, v7}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 474
    .local v3, "d":Landroid/widget/TextView;
    invoke-virtual {v3, p3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 475
    invoke-virtual {v3, v1}, Landroid/widget/TextView;->setWidth(I)V

    .line 477
    invoke-virtual {v4, v5}, Landroid/widget/TableRow;->addView(Landroid/view/View;)V

    .line 478
    invoke-virtual {v4, v2}, Landroid/widget/TableRow;->addView(Landroid/view/View;)V

    .line 479
    invoke-virtual {v4, v3}, Landroid/widget/TableRow;->addView(Landroid/view/View;)V

    .line 480
    const/4 v7, 0x0

    invoke-virtual {v4, v7}, Landroid/widget/TableRow;->setOrientation(I)V

    .line 481
    const/4 v7, -0x1

    invoke-virtual {v4, v7}, Landroid/widget/TableRow;->setBackgroundColor(I)V

    .line 483
    new-instance v7, Landroid/widget/TableLayout$LayoutParams;

    invoke-direct {v7, v9, v9}, Landroid/widget/TableLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v6, v4, v7}, Landroid/widget/TableLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 484
    return-void
.end method
